package com.myown.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.myown.pojo.SeckillOrder;
import com.myown.pojo.User;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hardy
 * @since 2022-05-21
 */
public interface ISeckillOrderService extends IService<SeckillOrder> {

    //获取秒杀结果
    //返回值参数  orderId:成功   -1：秒杀失败    0：排队中
    Long getResult(User user, Long goodsId);
}
